package sparseArray;

/**
 * 稀疏数组链表存储的节点
 */
public class SparseArrayNode {
    private int row=0;
    private int column=0;
    private int data=0;
    private SparseArrayNode next=null;

    public int getRow() {
        return row;
    }

    public void setRow(int row) {
        this.row = row;
    }

    public int getColumn() {
        return column;
    }

    public void setColumn(int column) {
        this.column = column;
    }

    public int getData() {
        return data;
    }

    public void setData(int data) {
        this.data = data;
    }

    public SparseArrayNode getNext() {
        return next;
    }

    public void setNext(SparseArrayNode next) {
        this.next = next;
    }
}
